Optimal. Leaf size=123 \[ \frac{1}{4} d x^4 \left (a^2 d^2+6 a b c d+3 b^2 c^2\right )+\frac{1}{2} c x^2 \left (3 a^2 d^2+6 a b c d+b^2 c^2\right )-\frac{a^2 c^3}{2 x^2}+a c^2 \log (x) (3 a d+2 b c)+\frac{1}{6} b d^2 x^6 (2 a d+3 b c)+\frac{1}{8} b^2 d^3 x^8 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.267089, antiderivative size = 123, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{1}{4} d x^4 \left (a^2 d^2+6 a b c d+3 b^2 c^2\right )+\frac{1}{2} c x^2 \left (3 a^2 d^2+6 a b c d+b^2 c^2\right )-\frac{a^2 c^3}{2 x^2}+a c^2 \log (x) (3 a d+2 b c)+\frac{1}{6} b d^2 x^6 (2 a d+3 b c)+\frac{1}{8} b^2 d^3 x^8 \]
Antiderivative was successfully verified.
[In] Int[((a + b*x^2)^2*(c + d*x^2)^3)/x^3,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{a^{2} c^{3}}{2 x^{2}} + \frac{a c^{2} \left (3 a d + 2 b c\right ) \log{\left (x^{2} \right )}}{2} + \frac{b^{2} d^{3} x^{8}}{8} + \frac{b d^{2} x^{6} \left (2 a d + 3 b c\right )}{6} + \frac{d \left (a^{2} d^{2} + 6 a b c d + 3 b^{2} c^{2}\right ) \int ^{x^{2}} x\, dx}{2} + \frac{c \left (3 a d \left (a d + 2 b c\right ) + b^{2} c^{2}\right ) \int ^{x^{2}} b^{2}\, dx}{2 b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**2+a)**2*(d*x**2+c)**3/x**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.087429, size = 120, normalized size = 0.98 \[ \frac{6 a^2 \left (-2 c^3+6 c d^2 x^4+d^3 x^6\right )+4 a b d x^4 \left (18 c^2+9 c d x^2+2 d^2 x^4\right )+3 b^2 x^4 \left (4 c^3+6 c^2 d x^2+4 c d^2 x^4+d^3 x^6\right )}{24 x^2}+a c^2 \log (x) (3 a d+2 b c) \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x^2)^2*(c + d*x^2)^3)/x^3,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 134, normalized size = 1.1 \[{\frac{{b}^{2}{d}^{3}{x}^{8}}{8}}+{\frac{{x}^{6}ab{d}^{3}}{3}}+{\frac{{x}^{6}{b}^{2}c{d}^{2}}{2}}+{\frac{{x}^{4}{a}^{2}{d}^{3}}{4}}+{\frac{3\,{x}^{4}abc{d}^{2}}{2}}+{\frac{3\,{x}^{4}{b}^{2}{c}^{2}d}{4}}+{\frac{3\,{x}^{2}{a}^{2}c{d}^{2}}{2}}+3\,{x}^{2}ab{c}^{2}d+{\frac{{x}^{2}{b}^{2}{c}^{3}}{2}}+3\,\ln \left ( x \right ){a}^{2}{c}^{2}d+2\,\ln \left ( x \right ) ab{c}^{3}-{\frac{{a}^{2}{c}^{3}}{2\,{x}^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^2+a)^2*(d*x^2+c)^3/x^3,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.35486, size = 173, normalized size = 1.41 \[ \frac{1}{8} \, b^{2} d^{3} x^{8} + \frac{1}{6} \,{\left (3 \, b^{2} c d^{2} + 2 \, a b d^{3}\right )} x^{6} + \frac{1}{4} \,{\left (3 \, b^{2} c^{2} d + 6 \, a b c d^{2} + a^{2} d^{3}\right )} x^{4} - \frac{a^{2} c^{3}}{2 \, x^{2}} + \frac{1}{2} \,{\left (b^{2} c^{3} + 6 \, a b c^{2} d + 3 \, a^{2} c d^{2}\right )} x^{2} + \frac{1}{2} \,{\left (2 \, a b c^{3} + 3 \, a^{2} c^{2} d\right )} \log \left (x^{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*(d*x^2 + c)^3/x^3,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.23032, size = 177, normalized size = 1.44 \[ \frac{3 \, b^{2} d^{3} x^{10} + 4 \,{\left (3 \, b^{2} c d^{2} + 2 \, a b d^{3}\right )} x^{8} + 6 \,{\left (3 \, b^{2} c^{2} d + 6 \, a b c d^{2} + a^{2} d^{3}\right )} x^{6} - 12 \, a^{2} c^{3} + 12 \,{\left (b^{2} c^{3} + 6 \, a b c^{2} d + 3 \, a^{2} c d^{2}\right )} x^{4} + 24 \,{\left (2 \, a b c^{3} + 3 \, a^{2} c^{2} d\right )} x^{2} \log \left (x\right )}{24 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*(d*x^2 + c)^3/x^3,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.93563, size = 133, normalized size = 1.08 \[ - \frac{a^{2} c^{3}}{2 x^{2}} + a c^{2} \left (3 a d + 2 b c\right ) \log{\left (x \right )} + \frac{b^{2} d^{3} x^{8}}{8} + x^{6} \left (\frac{a b d^{3}}{3} + \frac{b^{2} c d^{2}}{2}\right ) + x^{4} \left (\frac{a^{2} d^{3}}{4} + \frac{3 a b c d^{2}}{2} + \frac{3 b^{2} c^{2} d}{4}\right ) + x^{2} \left (\frac{3 a^{2} c d^{2}}{2} + 3 a b c^{2} d + \frac{b^{2} c^{3}}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**2+a)**2*(d*x**2+c)**3/x**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.237696, size = 216, normalized size = 1.76 \[ \frac{1}{8} \, b^{2} d^{3} x^{8} + \frac{1}{2} \, b^{2} c d^{2} x^{6} + \frac{1}{3} \, a b d^{3} x^{6} + \frac{3}{4} \, b^{2} c^{2} d x^{4} + \frac{3}{2} \, a b c d^{2} x^{4} + \frac{1}{4} \, a^{2} d^{3} x^{4} + \frac{1}{2} \, b^{2} c^{3} x^{2} + 3 \, a b c^{2} d x^{2} + \frac{3}{2} \, a^{2} c d^{2} x^{2} + \frac{1}{2} \,{\left (2 \, a b c^{3} + 3 \, a^{2} c^{2} d\right )}{\rm ln}\left (x^{2}\right ) - \frac{2 \, a b c^{3} x^{2} + 3 \, a^{2} c^{2} d x^{2} + a^{2} c^{3}}{2 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*(d*x^2 + c)^3/x^3,x, algorithm="giac")
[Out]